package way.scripts.classDoc.segment;

/**
 * @author Haozhiqiang  {2021/12/7 13:52}
 */
public class CDMethod extends AbstractNode {

    private static final String[] columnNames = {"类型", "约束/说明"};
    private static final String[] lineNames = {"输入", "输出"};

    private String index;
    private String name;
    private String inputType;
    private String outputType;
    private String inputDes;
    private String outputDes;

    public static String[] getColumnNames() {
        return columnNames;
    }

    public static String[] getLineNames() {
        return lineNames;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInputType() {
        return inputType;
    }

    public void setInputType(String inputType) {
        this.inputType = inputType;
    }

    public String getOutputType() {
        return outputType;
    }

    public void setOutputType(String outputType) {
        this.outputType = outputType;
    }

    public String getInputDes() {
        return inputDes;
    }

    public void setInputDes(String inputDes) {
        this.inputDes = inputDes;
    }

    public String getOutputDes() {
        return outputDes;
    }

    public void setOutputDes(String outputDes) {
        this.outputDes = outputDes;
    }

    @Override
    public int getLevel() {
        return 4;
    }
}
